% Animate a set intersection operation.
% The target document is a beamer presentation, so we load the
% beamer class to get the same fonts as in the presentation.
\documentclass{beamer}
\usepackage{tikz}

\usepackage[active,tightpage]{preview}
\PreviewEnvironment{tikzpicture}

\begin{document}
\frame{
\only<1>{\input{fibers00.tex}}
\only<2>{\input{fibers01.tex}}
\only<3>{\input{fibers02.tex}}
\only<4>{\input{fibers03.tex}}
\only<5>{\input{fibers04.tex}}
\only<6>{\input{fibers05.tex}}
\only<7>{\input{fibers06.tex}}
\only<8>{\input{fibers07.tex}}
\only<9>{\input{fibers08.tex}}
\only<10>{\input{fibers09.tex}}
\only<11>{\input{fibers10.tex}}
\only<12>{\input{fibers11.tex}}
\only<13>{\input{fibers12.tex}}
\only<14>{\input{fibers13.tex}}
\only<15>{\input{fibers14.tex}}
\only<16>{\input{fibers15.tex}}
\only<17>{\input{fibers16.tex}}
\only<18>{\input{fibers17.tex}}
\only<19>{\input{fibers18.tex}}
\only<20>{\input{fibers19.tex}}
\only<21>{\input{fibers20.tex}}
}
\end{document}
